package com.atguigu.service;

import com.atguigu.base.BaseService;
import com.atguigu.entity.Permission;

import java.util.List;
import java.util.Map;

public interface PermissionService extends BaseService<Permission> {

    List<Map<String, Object>> findZNodesByRoleId(Long id);

    List<Permission> findAllMenus();

    List<Permission> findMenusByAdminId(Long adminId);

    List<Permission> findListByAdminId(Long id);
}
